package com.xuecheng.media.model.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author shiminghui
 * @date 2024/8/24 16:57
 * @description: 媒资文件状态
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class MediaStatus {
    private String id;
    private String fileId;
    private String bucket;
    private String filePath;
    private int status;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime uploadTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime finishTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime deleteTime;
}
